<!--
 * @Author: HeAo
 * @Date: 2021-09-29 16:20:01
 * @LastEditTime: 2021-09-29 16:21:26
 * @LastEditors: HeAo
 * @Description: 
 * @FilePath: \web2103-2105\web2105\3-1-ES6\day05\6-async.html
 * 别乱动！
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Async</title>
  <script src="./jquery.js"></script>
  <script>
    const baseUrl = 'http://47.94.46.113:8888'

    async function findAllCategory() {
      let res = await $.get(baseUrl + '/index/category/findAll')
      console.log(res);
    }

    findAllCategory()
  </script>
</head>

<body>

</body>

</html>